@include('home.header')
           <b class="line"></b>
		<div class="center">
			<div class="col-main" style="height:1000px;">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">个人资料</strong> / <small>Personal&nbsp;information</small></div>
						</div>
						<hr/>
	
						<!--头像 -->
							<form class="am-form am-form-horizontal" onsubmit="asub()" action="" method="post" enctype="multipart/form-data">
							{{ csrf_field() }}
							<input type="hidden" name="_method" value="put"/>
						<div class="user-infoPic">

							<div>
								<img height="120" width="100" style="width:13%;"src="{{$user['img']}}" alt="" />
							</div>

							<p class="am-form-help">头像</p>

							<div class="info-m">
								<div><b>用户昵称：<i>{{$user['nickname']}}</i></b></div>
								<div class="u-level">
									<span class="rank r2">
							             <s class="vip1"></s><a class="classes" href="#">性 &nbsp; &nbsp; &nbsp;&nbsp;别 :
									<?php
									echo $user['sex'] ? '男' : '女';	
							             
									?>
							             </a>
						            </span>
								</div>

							</div>
						</div>


						
						<div class="info-main">
						

							

								<div class="am-form-group">
									<label for="user-phone" class="am-form-label">联系电话:{{$user['phone']}}</label>
								</div>
								<div class="am-form-group">
									<label for="user-email" class="am-form-label">电子邮件:{{$user['email']}}</label>
									
								</div>
								<div class="am-form-group">
									<label for="user-email" class="am-form-label">收货地址:{{$user['add']}}</label>
									
								</div>


							</form>
						</div>

					</div>
					<script>
					function asub()
					{
						var data = [];
						data['uername'] = $('#user-name').val();
						data['nickname'] = $("#user-name2").val();
						data['sex'] = $("input:checked").val();
						data['phone'] = $('#user-phone').val();
						data['email'] = $('#user-email').val;
						console.log(data);
						return false;
					}
					</script>
				</div>
@include('home.footer')	